﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace LeafulWeiboSdk.Metadata
{
    public class PicMetadata : BaseMetadata
    {
        [JsonProperty("thumbnail_pic")]
        public string ThumbnailPic { get; set; }

        // extend
        public string MiddlePic { get { return ThumbnailPic.Replace("thumbnail/", "bmiddle/"); } }
        public string LargePic { get { return ThumbnailPic.Replace("thumbnail/", "large/"); } }
    }
}
